//测试路由,包含layout布局将开启侧边栏,头部导航栏
let testPaths = [
  {
    path: "/layout/home",
    title: "首页",
    url: "views/home/index.vue",
    keepAlive: true,
  },

  {
    path: "/elform",
    title: "表单",
    children: [
      {
        path: "/layout/el-form/el-form-create",
        title: "表单生成器",
        url: "views/el-form/el-form-create/index.vue",
        keepAlive: true,
      },
      {
        path: "/layout/el-form/el-form-put",
        title: "输出表单",
        url: "views/el-form/el-form-out/index.vue",
        keepAlive: true,
      },
    ],
  },
  {
    path: "/layout/eltable",
    title: "基础表格",
    url: "views/el-table/index.vue",
    keepAlive: true,
  },
  {
    path: "/system",
    title: "组织机构",
    children: [
      {
        path: "/layout/power",
        title: "权限",
        url: "views/system/power/index.vue",
        keepAlive: false,
      },
    ],
  },
  {
    path: "/layout/execlJs",
    title: "导出示例",
    url: "views/execlJs/index.vue",
    keepAlive: true,
  },
  {
    path: "/food",
    title: "food",
    url: "views/food/index.vue",
  },
  {
    path: "/threejs",
    title: "threejs",
    url: "views/threejs/index.vue",
  },

  // {
  //   path: "/foodDetail",
  //   title: "foodDetail",
  //   url: "views/food/foodDetail.vue",
  // },
  {
    path: "/test",
    title: "测试",
    url: "views/test/index.vue",
  },
];

// {
//    path:'路径',
//    title:'路由名字',
//    url:'组件隐射位置',
//    keepAlive:'是否缓存该路由'
//  }

export default testPaths;
